const path = require('path');
const fs = require('fs');

const appDir = fs.realpathSync(process.cwd());
const resolveApp = (subPath)=>{
    return path.resolve(appDir,subPath);
};

module.exports = {
    appIndexJs:resolveApp('src/index.js'),
    templatePath:resolveApp('build/index.html'),
    publishPath:'/',
    distPath:resolveApp('dist/'),
    srcPath:resolveApp('src/'),
    dllPath:resolveApp('dllDist'),
    cwdPath:appDir
};